﻿using Ducu.BLL.Entity;
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ducu.BLL.NHMap.Component
{
    class ProfileMap : ComponentMap<Profile>
    {
        public ProfileMap()
        {
            Map(m => m.Address);
            Map(m => m.BirthDay);
            Map(m => m.BirthMonth);
            Map(m => m.BirthYear);
            Map(m => m.City);
            Map(m => m.DisplayName);
            Map(m => m.Gender);
            Map(m => m.OtherContact);
            Map(m => m.Phone);
            Map(m => m.Province);
            Map(m => m.SelfIntroduction);
            Map(m => m.QQ);
            Map(m => m.WeChat);
            Map(m => m.WeiBo);
        }
    }
}
